package safari.model.member;

import java.sql.SQLException;
import java.util.List;

import safari.model.message.IdAndPageVO;
import safari.model.transaction.TradeHistoryVO;



public interface MemberDao {
	public int register(MemberVO mvo) throws SQLException;
	public int update(MemberVO mvo) throws SQLException;
	public int delete(String id) throws SQLException;
	public MemberVO login(MemberVO mvo) throws SQLException;
	public int findIdAndPassword(MemberVO mvo) throws SQLException;
	public int idCheck(String id) throws SQLException;
	public MemberVO getInfo(String id) throws SQLException;
	public int updateDelPic(MemberVO mvo) throws SQLException;
	public List<TradeHistoryVO> viewMySellTH(IdAndPageVO ipvo) throws SQLException;
	public List<TradeHistoryVO> viewMyBuyTH(IdAndPageVO ipvo) throws SQLException;
	public int checkEmail(String email) throws SQLException;
	public int getNumberOfSellTH(String id) throws SQLException;
	public int getNumberOfBuyTH(String id) throws SQLException;
}
